import { ReqPage } from "@/api/interface/index";
// 用户管理模块
export namespace Warning {
  export interface ReqWarningParams extends ReqPage {
    name: string;
  }

  export interface ResReqWarningList {
    id: number;
    uuid: string;
    system_type: string;
    system_name: string;
    importance: string;
    level_type: string;
    name: string;
    sid: string;
    source: string;
    // type: string;
    // status: string;
    classification: string;
    is_confirmed: boolean;
    is_handled: boolean;
    has_fallen: boolean;
    is_marked: boolean;
    appearance_count: number;
    updated_time: string;
    created_time: string;
    detail: string;
    extra: any;
    operation: string;
    ticket_status: string;
  }

  export interface overview {
    system_type: string;
    system_type_cn: string;
    count: number;
    color: string;
  }

  export interface distribution {
    type: string;
    type_cn: string;
    count: number;
    color: string;
  }

  export interface ticketStatus {
    value: number;
    title: string;
    percentage: number;
    color: string;
  }

  export interface importance {
    importance_key: string;
    importance_cn: string;
    count: number;
  }
}
